package request

type SendMail struct {
	To      string `form:"to" json:"to" binding:"required" label:"接收人"`
	Message string `form:"message" json:"message" binding:"required" label:"邮件内容"`
}

func (SendMail *SendMail) GetMessages() ValidatorMessages {
	return ValidatorMessages{
		"required": ":label为必填项",
	}
}
